package com.cqu.lpss.service;

import com.cqu.lpss.pojo.Image;
import com.cqu.lpss.pojo.PageBean;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

public interface ImageInterface {
    public PageBean<Image> list(int page,
                                int pageSize,
                                String imgUrl,
                                String imgPosition,
                                String imgFormat,
                                String imgName);
    public int add(Image image);
    public int delete(Integer imgId);
    public int edit(Image image);
    public List<Image> findByposition(String position);
}

